package com.neusoft.chenhanhua.d0915;

import java.awt.Graphics;

public class Line extends Shape {
	 
	 public Line() {
		 
	 }
	 public void draw(Graphics g) {
		 g.drawLine(x1, y1, x2, y2);
	 }
	
	public Line(int x1, int y1, int x2, int y2) {
		super(x1, y1, x2, y2);
	}
	

}
